package com.bifang.common.vo;

import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import lombok.Data;

@Data
public class TreeQueryVO extends BaseVO {
    @ApiModelProperty(notes = "搜索条件")
    private String searchText;
    /** 是否权限控制 true 是 false 否 */
    @ApiModelProperty(notes = "是否权限控制 true 是 false 否")
    private Boolean permissionFlag;
    /** 用户Id */
    @ApiModelProperty(notes = "用户Id")
    private String userId;
    /** 角色Id */
    @ApiModelProperty(notes = "角色Id")
    private String roleId;

    @ApiModelProperty(notes = "父类key,lazy=true 生效")
    private String parentKey;

    @ApiModelProperty(notes = "是否懒加载，true 是 false 不是 默认false")
    private Boolean lazy;

    @ApiModelProperty(notes = "默认查询级别")
    private Integer nodeLevel;

    @ApiModelProperty(notes = "默认展开级别，不传和查询级别一样，查询级别为空时，默认不展开")
    private Integer expandedLevel;

    @ApiModelProperty(notes = "是否查询parentId")
    private Boolean parentFlag;

    @ApiModelProperty(notes = "表主键list")
    private List<String> idList;
}
